<template>
  <div class="tabbar">
    <van-tabbar  fixed v-model="active" active-color="#ffb600">
      <van-tabbar-item to="/index" icon="home-o">主页</van-tabbar-item>
      <van-tabbar-item to="/classify" icon="apps-o">分类</van-tabbar-item>
      <van-tabbar-item to="/shoppingcart" icon="cart-o">购物车</van-tabbar-item>
      <van-tabbar-item to="/my" icon="contact">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script setup>
import { ref } from 'vue';
const active = ref(0);
</script>

<style lang='scss'>

</style>
